package cn.wdm.ymcc.constants;

public enum GlobalError {

    ERROR_EXCEPTION("5000", "系统繁忙，稍后重试");
    /**
     * 错误码
     */
    private String code;
    /**
     * 错误描述
     */
    private String message;

    GlobalError(String code, String msg) {
        this.code = code;
        this.message = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}